Skip to content

Remove default instance#916

Merged
tylerbenson merged 1 commit into
masterfrom
tyler/remove-ss-default
Jul 16, 2019
Merged

Remove default instance#916
tylerbenson merged 1 commit into
masterfrom
tyler/remove-ss-default

Conversation

@tylerbenson
Copy link
Copy Markdown
Contributor

It’s not very interesting and breaks the definition of “instance” when we want to see the db name when no instance name is defined.

It’s not very interesting and breaks the definition of “instance” when we want to see the db name when no instance name is defined.
@tylerbenson tylerbenson added type: bug Bug report and fix inst: others All other instrumentations labels Jul 15, 2019
@tylerbenson tylerbenson added this to the 0.31.0 milestone Jul 15, 2019
@tylerbenson tylerbenson requested a review from a team as a code owner July 15, 2019 19:53
Copy link
Copy Markdown
Member

@labbati labbati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this PR as in line with what seems to be requirement for the task.
There is one thing that is not clear to me from a usability standpoint, though.

If the feature 'split by domain' is enabled I would expect that we provide in the service name an indication of the DB. Based on what I see here we will put,:

  • if the default instance MSSQLSERVER is used then we are using db_name
  • otherwise we are using INSTANCE_NAME

Is this the expected behavior?

@tylerbenson
Copy link
Copy Markdown
Contributor Author

Some databases only have instance and some only have db name... some have both. I felt like it was most "in the spirit" of the config setting to have it like this. The goal being having a more interesting service name. For this reason I decided to include "db name" also.

@tylerbenson tylerbenson merged commit 7d6bdcc into master Jul 16, 2019
@tylerbenson tylerbenson deleted the tyler/remove-ss-default branch July 16, 2019 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: others All other instrumentations type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants